Optimal. Leaf size=317 \[ -\frac {d \left (15 b^3 c^3-839 a b^2 c^2 d+1785 a^2 b c d^2-945 a^3 d^3\right ) \sqrt {a+b x}}{192 a c^5 \sqrt {c+d x}}-\frac {a (11 b c-9 a d) \sqrt {a+b x}}{24 c^2 x^3 \sqrt {c+d x}}-\frac {(59 b c-63 a d) (b c-a d) \sqrt {a+b x}}{96 c^3 x^2 \sqrt {c+d x}}-\frac {(b c-a d) \left (15 b^2 c^2-322 a b c d+315 a^2 d^2\right ) \sqrt {a+b x}}{192 a c^4 x \sqrt {c+d x}}-\frac {a (a+b x)^{3/2}}{4 c x^4 \sqrt {c+d x}}+\frac {5 (b c-a d)^2 \left (b^2 c^2+14 a b c d-63 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{64 a^{3/2} c^{11/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.24, antiderivative size = 317, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.318, Rules used = {100, 154, 156,
157, 12, 95, 214} \begin {gather*} -\frac {\sqrt {a+b x} \left (315 a^2 d^2-322 a b c d+15 b^2 c^2\right ) (b c-a d)}{192 a c^4 x \sqrt {c+d x}}+\frac {5 \left (-63 a^2 d^2+14 a b c d+b^2 c^2\right ) (b c-a d)^2 \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{64 a^{3/2} c^{11/2}}-\frac {d \sqrt {a+b x} \left (-945 a^3 d^3+1785 a^2 b c d^2-839 a b^2 c^2 d+15 b^3 c^3\right )}{192 a c^5 \sqrt {c+d x}}-\frac {\sqrt {a+b x} (59 b c-63 a d) (b c-a d)}{96 c^3 x^2 \sqrt {c+d x}}-\frac {a \sqrt {a+b x} (11 b c-9 a d)}{24 c^2 x^3 \sqrt {c+d x}}-\frac {a (a+b x)^{3/2}}{4 c x^4 \sqrt {c+d x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 95
Rule 100
Rule 154
Rule 156
Rule 157
Rule 214
Rubi steps
\begin {align*} \int \frac {(a+b x)^{5/2}}{x^5 (c+d x)^{3/2}} \, dx &=-\frac {a (a+b x)^{3/2}}{4 c x^4 \sqrt {c+d x}}-\frac {\int \frac {\sqrt {a+b x} \left (-\frac {1}{2} a (11 b c-9 a d)-b (4 b c-3 a d) x\right )}{x^4 (c+d x)^{3/2}} \, dx}{4 c}\\ &=-\frac {a (11 b c-9 a d) \sqrt {a+b x}}{24 c^2 x^3 \sqrt {c+d x}}-\frac {a (a+b x)^{3/2}}{4 c x^4 \sqrt {c+d x}}-\frac {\int \frac {-\frac {1}{4} a (59 b c-63 a d) (b c-a d)-\frac {3}{2} b (8 b c-9 a d) (b c-a d) x}{x^3 \sqrt {a+b x} (c+d x)^{3/2}} \, dx}{12 c^2}\\ &=-\frac {a (11 b c-9 a d) \sqrt {a+b x}}{24 c^2 x^3 \sqrt {c+d x}}-\frac {(59 b c-63 a d) (b c-a d) \sqrt {a+b x}}{96 c^3 x^2 \sqrt {c+d x}}-\frac {a (a+b x)^{3/2}}{4 c x^4 \sqrt {c+d x}}+\frac {\int \frac {\frac {1}{8} a (b c-a d) \left (15 b^2 c^2-322 a b c d+315 a^2 d^2\right )-\frac {1}{2} a b d (59 b c-63 a d) (b c-a d) x}{x^2 \sqrt {a+b x} (c+d x)^{3/2}} \, dx}{24 a c^3}\\ &=-\frac {a (11 b c-9 a d) \sqrt {a+b x}}{24 c^2 x^3 \sqrt {c+d x}}-\frac {(59 b c-63 a d) (b c-a d) \sqrt {a+b x}}{96 c^3 x^2 \sqrt {c+d x}}-\frac {(b c-a d) \left (15 b^2 c^2-322 a b c d+315 a^2 d^2\right ) \sqrt {a+b x}}{192 a c^4 x \sqrt {c+d x}}-\frac {a (a+b x)^{3/2}}{4 c x^4 \sqrt {c+d x}}-\frac {\int \frac {\frac {15}{16} a (b c-a d)^2 \left (b^2 c^2+14 a b c d-63 a^2 d^2\right )+\frac {1}{8} a b d (b c-a d) \left (15 b^2 c^2-322 a b c d+315 a^2 d^2\right ) x}{x \sqrt {a+b x} (c+d x)^{3/2}} \, dx}{24 a^2 c^4}\\ &=-\frac {d \left (15 b^3 c^3-839 a b^2 c^2 d+1785 a^2 b c d^2-945 a^3 d^3\right ) \sqrt {a+b x}}{192 a c^5 \sqrt {c+d x}}-\frac {a (11 b c-9 a d) \sqrt {a+b x}}{24 c^2 x^3 \sqrt {c+d x}}-\frac {(59 b c-63 a d) (b c-a d) \sqrt {a+b x}}{96 c^3 x^2 \sqrt {c+d x}}-\frac {(b c-a d) \left (15 b^2 c^2-322 a b c d+315 a^2 d^2\right ) \sqrt {a+b x}}{192 a c^4 x \sqrt {c+d x}}-\frac {a (a+b x)^{3/2}}{4 c x^4 \sqrt {c+d x}}+\frac {\int -\frac {15 a (b c-a d)^3 \left (b^2 c^2+14 a b c d-63 a^2 d^2\right )}{32 x \sqrt {a+b x} \sqrt {c+d x}} \, dx}{12 a^2 c^5 (b c-a d)}\\ &=-\frac {d \left (15 b^3 c^3-839 a b^2 c^2 d+1785 a^2 b c d^2-945 a^3 d^3\right ) \sqrt {a+b x}}{192 a c^5 \sqrt {c+d x}}-\frac {a (11 b c-9 a d) \sqrt {a+b x}}{24 c^2 x^3 \sqrt {c+d x}}-\frac {(59 b c-63 a d) (b c-a d) \sqrt {a+b x}}{96 c^3 x^2 \sqrt {c+d x}}-\frac {(b c-a d) \left (15 b^2 c^2-322 a b c d+315 a^2 d^2\right ) \sqrt {a+b x}}{192 a c^4 x \sqrt {c+d x}}-\frac {a (a+b x)^{3/2}}{4 c x^4 \sqrt {c+d x}}-\frac {\left (5 (b c-a d)^2 \left (b^2 c^2+14 a b c d-63 a^2 d^2\right )\right ) \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx}{128 a c^5}\\ &=-\frac {d \left (15 b^3 c^3-839 a b^2 c^2 d+1785 a^2 b c d^2-945 a^3 d^3\right ) \sqrt {a+b x}}{192 a c^5 \sqrt {c+d x}}-\frac {a (11 b c-9 a d) \sqrt {a+b x}}{24 c^2 x^3 \sqrt {c+d x}}-\frac {(59 b c-63 a d) (b c-a d) \sqrt {a+b x}}{96 c^3 x^2 \sqrt {c+d x}}-\frac {(b c-a d) \left (15 b^2 c^2-322 a b c d+315 a^2 d^2\right ) \sqrt {a+b x}}{192 a c^4 x \sqrt {c+d x}}-\frac {a (a+b x)^{3/2}}{4 c x^4 \sqrt {c+d x}}-\frac {\left (5 (b c-a d)^2 \left (b^2 c^2+14 a b c d-63 a^2 d^2\right )\right ) \text {Subst}\left (\int \frac {1}{-a+c x^2} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{64 a c^5}\\ &=-\frac {d \left (15 b^3 c^3-839 a b^2 c^2 d+1785 a^2 b c d^2-945 a^3 d^3\right ) \sqrt {a+b x}}{192 a c^5 \sqrt {c+d x}}-\frac {a (11 b c-9 a d) \sqrt {a+b x}}{24 c^2 x^3 \sqrt {c+d x}}-\frac {(59 b c-63 a d) (b c-a d) \sqrt {a+b x}}{96 c^3 x^2 \sqrt {c+d x}}-\frac {(b c-a d) \left (15 b^2 c^2-322 a b c d+315 a^2 d^2\right ) \sqrt {a+b x}}{192 a c^4 x \sqrt {c+d x}}-\frac {a (a+b x)^{3/2}}{4 c x^4 \sqrt {c+d x}}+\frac {5 (b c-a d)^2 \left (b^2 c^2+14 a b c d-63 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{64 a^{3/2} c^{11/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.64, size = 238, normalized size = 0.75 \begin {gather*} \frac {\sqrt {a+b x} \left (-15 b^3 c^3 x^3 (c+d x)+a b^2 c^2 x^2 \left (-118 c^2+337 c d x+839 d^2 x^2\right )-a^2 b c x \left (136 c^3-244 c^2 d x+637 c d^2 x^2+1785 d^3 x^3\right )+a^3 \left (-48 c^4+72 c^3 d x-126 c^2 d^2 x^2+315 c d^3 x^3+945 d^4 x^4\right )\right )}{192 a c^5 x^4 \sqrt {c+d x}}+\frac {5 (b c-a d)^2 \left (b^2 c^2+14 a b c d-63 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{64 a^{3/2} c^{11/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(981\) vs.
\(2(273)=546\).
time = 0.07, size = 982, normalized size = 3.10
method | result | size |
default | \(-\frac {\sqrt {b x +a}\, \left (945 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{4} d^{5} x^{5}-2100 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{3} b c \,d^{4} x^{5}+1350 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{2} b^{2} c^{2} d^{3} x^{5}-180 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a \,b^{3} c^{3} d^{2} x^{5}-15 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) b^{4} c^{4} d \,x^{5}+945 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{4} c \,d^{4} x^{4}-2100 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{3} b \,c^{2} d^{3} x^{4}+1350 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{2} b^{2} c^{3} d^{2} x^{4}-180 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a \,b^{3} c^{4} d \,x^{4}-15 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) b^{4} c^{5} x^{4}-1890 a^{3} d^{4} x^{4} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+3570 a^{2} b c \,d^{3} x^{4} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}-1678 a \,b^{2} c^{2} d^{2} x^{4} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+30 b^{3} c^{3} d \,x^{4} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}-630 a^{3} c \,d^{3} x^{3} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+1274 a^{2} b \,c^{2} d^{2} x^{3} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}-674 a \,b^{2} c^{3} d \,x^{3} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+30 b^{3} c^{4} x^{3} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+252 a^{3} c^{2} d^{2} x^{2} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}-488 a^{2} b \,c^{3} d \,x^{2} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+236 a \,b^{2} c^{4} x^{2} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}-144 a^{3} c^{3} d x \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+272 a^{2} b \,c^{4} x \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+96 a^{3} c^{4} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\right )}{384 a \,c^{5} \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, x^{4} \sqrt {a c}\, \sqrt {d x +c}}\) | \(982\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 6.69, size = 828, normalized size = 2.61 \begin {gather*} \left [-\frac {15 \, {\left ({\left (b^{4} c^{4} d + 12 \, a b^{3} c^{3} d^{2} - 90 \, a^{2} b^{2} c^{2} d^{3} + 140 \, a^{3} b c d^{4} - 63 \, a^{4} d^{5}\right )} x^{5} + {\left (b^{4} c^{5} + 12 \, a b^{3} c^{4} d - 90 \, a^{2} b^{2} c^{3} d^{2} + 140 \, a^{3} b c^{2} d^{3} - 63 \, a^{4} c d^{4}\right )} x^{4}\right )} \sqrt {a c} \log \left (\frac {8 \, a^{2} c^{2} + {\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{2} - 4 \, {\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {a c} \sqrt {b x + a} \sqrt {d x + c} + 8 \, {\left (a b c^{2} + a^{2} c d\right )} x}{x^{2}}\right ) + 4 \, {\left (48 \, a^{4} c^{5} + {\left (15 \, a b^{3} c^{4} d - 839 \, a^{2} b^{2} c^{3} d^{2} + 1785 \, a^{3} b c^{2} d^{3} - 945 \, a^{4} c d^{4}\right )} x^{4} + {\left (15 \, a b^{3} c^{5} - 337 \, a^{2} b^{2} c^{4} d + 637 \, a^{3} b c^{3} d^{2} - 315 \, a^{4} c^{2} d^{3}\right )} x^{3} + 2 \, {\left (59 \, a^{2} b^{2} c^{5} - 122 \, a^{3} b c^{4} d + 63 \, a^{4} c^{3} d^{2}\right )} x^{2} + 8 \, {\left (17 \, a^{3} b c^{5} - 9 \, a^{4} c^{4} d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{768 \, {\left (a^{2} c^{6} d x^{5} + a^{2} c^{7} x^{4}\right )}}, -\frac {15 \, {\left ({\left (b^{4} c^{4} d + 12 \, a b^{3} c^{3} d^{2} - 90 \, a^{2} b^{2} c^{2} d^{3} + 140 \, a^{3} b c d^{4} - 63 \, a^{4} d^{5}\right )} x^{5} + {\left (b^{4} c^{5} + 12 \, a b^{3} c^{4} d - 90 \, a^{2} b^{2} c^{3} d^{2} + 140 \, a^{3} b c^{2} d^{3} - 63 \, a^{4} c d^{4}\right )} x^{4}\right )} \sqrt {-a c} \arctan \left (\frac {{\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {-a c} \sqrt {b x + a} \sqrt {d x + c}}{2 \, {\left (a b c d x^{2} + a^{2} c^{2} + {\left (a b c^{2} + a^{2} c d\right )} x\right )}}\right ) + 2 \, {\left (48 \, a^{4} c^{5} + {\left (15 \, a b^{3} c^{4} d - 839 \, a^{2} b^{2} c^{3} d^{2} + 1785 \, a^{3} b c^{2} d^{3} - 945 \, a^{4} c d^{4}\right )} x^{4} + {\left (15 \, a b^{3} c^{5} - 337 \, a^{2} b^{2} c^{4} d + 637 \, a^{3} b c^{3} d^{2} - 315 \, a^{4} c^{2} d^{3}\right )} x^{3} + 2 \, {\left (59 \, a^{2} b^{2} c^{5} - 122 \, a^{3} b c^{4} d + 63 \, a^{4} c^{3} d^{2}\right )} x^{2} + 8 \, {\left (17 \, a^{3} b c^{5} - 9 \, a^{4} c^{4} d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{384 \, {\left (a^{2} c^{6} d x^{5} + a^{2} c^{7} x^{4}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 3762 vs.
\(2 (273) = 546\).
time = 25.96, size = 3762, normalized size = 11.87 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,x\right )}^{5/2}}{x^5\,{\left (c+d\,x\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________